

import request from "../utils/request";

//菜单分页列表
export const getMenuList=async (data)=>{
	return request.postRequest("manager/menu/allList",data)
}

//所有菜单列表
export const getAllMenuList=async (data)=>{
	return request.getRequest("manager/menu/list",data)
}

//删除菜单
export const delMenu=async (data)=>{
	return request.getRequest("manager/menu/delete",data)
}


//添加菜单
export const insertMenu=async (data)=>{
	return request.postRequest("manager/menu/insert",data)
}


//修改菜单
export const updateMenu=async (data)=>{
	return request.postRequest("manager/menu/update",data)
}
//修改菜单
export const searchMenu=async (data)=>{
	return request.postRequest("manager/menu/allList ",data)
}

